<?php
    //include("cabecera.php");
    //include("menu_administrativo.php");  
?>
<!--<script type="text/javascript" language="JavaScript" src="js/jquery.js"></script>-->
   <link rel="stylesheet" href="css/jquery-ui-1.9.2.css" />
    <script src="js/jquery-ui-1.9.2.js"></script>
    
    <script>
        $(function() {
            $( "#datepicker_desde" ).datepicker({
                changeMonth: true,
                changeYear: true,
                dateFormat: 'yy-mm-dd'
            });
        });
        
        $(function() {
            $( "#datepicker_hasta" ).datepicker({
                changeMonth: true,
                changeYear: true,
                dateFormat: 'yy-mm-dd'
            });
        });
    </script>
      <h2>Generar informe de documentos por estado</h2>
      <hr>
      <form method="post" action="inf_doc_estado_generar.php">
      <table width="100%">
        <tr>
          <td width="17%">Desde</td>
          <td width="33%">
          <input type="text" name="fecha_desde" class="required date" id="datepicker_desde" />
          <td width="16%">Hasta</td>
          <td width="33%">
          <input type="text" name="fecha_hasta" class="required date" id="datepicker_hasta" />
          <input type="hidden" name="membrete" value="<?=$config->getLugarmembrete()?>"/>
          <input type="hidden" name="rutnotaria" value="<?=$config->getRut_notaria()?>"/>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>
            <input type="submit" name="button" id="button" value="Generar Informe" />
          </td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
      </form>